import request from '@/utils/request'

// 查询阿里短信列表
export function listAliSms(query) {
  return request({
    url: '/projects/AliSms/list',
    method: 'get',
    params: query
  })
}

// 查询阿里短信详细
export function getAliSms(id) {
  return request({
    url: '/projects/AliSms/' + id,
    method: 'get'
  })
}

// 新增阿里短信
export function addAliSms(data) {
  return request({
    url: '/projects/AliSms',
    method: 'post',
    data: data
  })
}

// 修改阿里短信
export function updateAliSms(data) {
  return request({
    url: '/projects/AliSms',
    method: 'put',
    data: data
  })
}

// 删除阿里短信
export function delAliSms(id) {
  return request({
    url: '/projects/AliSms/' + id,
    method: 'delete'
  })
}
